package com.ec.fb.domain.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

@Data
@ApiModel(description = "反馈统计响应")
public class FeedbackStatsDTO {
    @ApiModelProperty(value = "好评数量 (评分4-5)", example = "50")
    private Long positiveCount;

    @ApiModelProperty(value = "差评数量 (评分1-3)", example = "10")
    private Long negativeCount;

    @ApiModelProperty(value = "好评占比", example = "83.33")
    private Double positivePercentage;

    @ApiModelProperty(value = "差评占比", example = "16.67")
    private Double negativePercentage;
}